5b34460685bc6f938ff26f75328bb2ef05cb1d67,testSource/com/intellij/psi/formatter/XmlBlock.java,XmlBlock,getSpacesInsideTag,#IElementType#IElementType#,175

Before Change


    } else if (type2 == ElementType.XML_TEXT && type1 == ElementType.XML_TAG) {
      return new SpaceProperty(0, 0, 1, getMaxLine(), false);
    } else if (type1 == ElementType.XML_TEXT && type2 == ElementType.XML_END_TAG_START) {
      return new SpaceProperty(0, 0, 0, getMaxLine(), false);
    } else if (type1 == ElementType.XML_TAG_END && type2 == ElementType.XML_END_TAG_START) {
      return new SpaceProperty(0, 0, 0, getMaxLine(), false);
    } else if (type2 == ElementType.XML_TEXT && type1 == ElementType.XML_TAG_END) {

After Change


    } else if (type2 == ElementType.XML_TEXT && type1 == ElementType.XML_TAG) {
      return getFormatter().createSpaceProperty(0, 0, 1, getMaxLine());
    } else if (type1 == ElementType.XML_TEXT && type2 == ElementType.XML_END_TAG_START) {
      return getFormatter().createSpaceProperty(0, 0, 0, getMaxLine());
    } else if (type1 == ElementType.XML_TAG_END && type2 == ElementType.XML_END_TAG_START) {
      return getFormatter().createSpaceProperty(0, 0, 0, getMaxLine());
    } else if (type2 == ElementType.XML_TEXT && type1 == ElementType.XML_TAG_END) {